וַיֵּ֣דַע דָּוִ֔ד כִּֽי־הֱכִינ֧וֹ יְהוָ֛ה לְמֶ֖לֶךְ עַל־יִשְׂרָאֵ֑ל וְכִי֙ נִשֵּׂ֣א מַמְלַכְתּ֔וֹ בַּעֲב֖וּר עַמּ֥וֹ יִשְׂרָאֵֽל׃ (ס)
And David perceived that the LORD had established him king over Israel, and that He had exalted his kingdom for His people Israel’s sake.
Read Kabbalistic (mystical) interpretations of II Samuel 5:12: Zohar and classical Jewish mystical sources, free online.